Skip to content

Commit

Permalink
Log missing SD card as a warning rather than an error (#246)
Browse files Browse the repository at this point in the history
It takes a few moments for the SD card to become available,
so if the SD card setting is enabled, this log message will show up
every time the application starts.
  • Loading branch information
killenheladagen authored Apr 30, 2024
1 parent 27fc834 commit b5e4cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dockerdwrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ static bool is_app_log_level_debug(AXParameter* param_handle) {
static char* prepare_data_root(AXParameter* param_handle, const char* sd_card_area) {
if (is_parameter_yes(param_handle, PARAM_SD_CARD_SUPPORT)) {
if (!sd_card_area) {
log_error("SD card was requested, but no SD card is available at the moment.");
log_warning("SD card was requested, but no SD card is available at the moment.");
set_status_parameter(param_handle, STATUS_NO_SD_CARD);
return NULL;
}
Expand Down

0 comments on commit b5e4cfb

Please sign in to comment.