Skip to content

Commit

Permalink
Turn on CHIP_CONFIG_ERROR_FORMAT_AS_STRING on Android (#23544)
Browse files Browse the repository at this point in the history
For some reason, only numeric errors are used on Android. This enables
the string errors for more readable error messages.
  • Loading branch information
mspang authored and pull[bot] committed Jun 22, 2023
1 parent 9971c0f commit 555f684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/android/CHIPPlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ using CHIP_CONFIG_PERSISTED_STORAGE_KEY_TYPE = const char *;

#define CHIP_CONFIG_LIFETIIME_PERSISTED_COUNTER_KEY "life-count"

#define CHIP_CONFIG_ERROR_FORMAT_AS_STRING 0
#define CHIP_CONFIG_ERROR_FORMAT_AS_STRING 1
#define CHIP_CONFIG_ERROR_SOURCE 1

// ==================== Security Adaptations ====================
Expand Down

0 comments on commit 555f684

Please sign in to comment.