Skip to content

Commit 69ca2be

Browse files
committed
Change warning report from ERROR to WARN
1 parent f7dacf4 commit 69ca2be

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/primary/primary_client.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ bool PrimaryClient::sendScriptBlocking(const std::string& program, std::string s
251251
}
252252
if (error.report_level == ReportLevel::WARNING)
253253
{
254-
URCL_LOG_ERROR("Robot error code with severity WARNING received during script execution. Robot "
255-
"error code: %s",
256-
error.to_string.c_str());
254+
URCL_LOG_WARN("Robot error code with severity WARNING received during script execution. Robot "
255+
"error code: %s",
256+
error.to_string.c_str());
257257
is_warning = true;
258258
}
259259
if (error.message_code == 210)

0 commit comments

Comments
 (0)