Skip to content

Commit

Permalink
fixed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
adanforth committed Jul 7, 2022
1 parent 22fe2c6 commit 7373788
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/config/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2235,7 +2235,7 @@ bool Config::init(const CliArgs &cliArgs)
}
catch (const std::exception &e)
{
LOGM_ERROR(TAG, "Error while initializing runtime configuration: %s ", e.what());
LOGM_ERROR(TAG, "Error while initializing runtime configuration: %s", e.what());

return false;
}
Expand Down
2 changes: 1 addition & 1 deletion source/fleetprovisioning/FleetProvisioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ bool FleetProvisioning::ProvisionDevice(shared_ptr<SharedCrtResourceManager> fpC
}
catch (const std::exception &e)
{
LOGM_ERROR(TAG, "Error while initializing runtime configuration: %s ", e.what());
LOGM_ERROR(TAG, "Error while initializing runtime configuration: %s", e.what());

return false;
}
Expand Down
2 changes: 1 addition & 1 deletion source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ void attemptConnection()
}
catch (const std::exception &e)
{
LOGM_ERROR(TAG, "Error while initializing runtime configuration: %s ", e.what());
LOGM_ERROR(TAG, "Error while initializing runtime configuration: %s", e.what());
LoggerFactory::getLoggerInstance()->shutdown();
deviceClientAbort("Failure from attemptConnection");
}
Expand Down
2 changes: 1 addition & 1 deletion source/util/FileUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ string FileUtils::ExtractExpandedPath(const string &filePath)
{
throw wordexp_fail_error(
"Received status from wordexp: " + std::to_string(status) +
"Pertaining to following filepath: " + filePath);
" Pertaining to following filepath: " + filePath);
}
string expandedPath = word.we_wordv[0];
wordfree(&word);
Expand Down

0 comments on commit 7373788

Please sign in to comment.