Print warning at the correct log level in jerry-main (#1334)

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2016-09-09 09:00:28 +02:00
committed by GitHub
parent dc83e995d2
commit 2eb0c5ba1b
+1 -1
View File
@@ -325,7 +325,7 @@ main (int argc,
if (!is_assert_added)
{
jerry_port_log (JERRY_LOG_LEVEL_ERROR, "Warning: failed to register 'assert' method.");
jerry_port_log (JERRY_LOG_LEVEL_WARNING, "Warning: failed to register 'assert' method.");
}
jerry_value_t ret_value = jerry_create_undefined ();