Skip to content

Commit 9feea7b

Browse files
committed
Remove annoying error message.
1 parent a5502f1 commit 9feea7b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/metacall/source/metacall_error.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ int metacall_error_from_value(void *v, metacall_exception ex)
3232
{
3333
if (v == NULL || ex == NULL)
3434
{
35-
log_write("metacall", LOG_LEVEL_ERROR, "Trying to retrieve an exception from a value with wrong null parameters");
3635
return 1;
3736
}
3837

@@ -43,9 +42,6 @@ int metacall_error_from_value(void *v, metacall_exception ex)
4342

4443
if (type_id_exception(value_type_id(v)) != 0)
4544
{
46-
log_write("metacall", LOG_LEVEL_ERROR, "Passed a wrong value to metacall_error_from_value,"
47-
" either a value of type exception or a value of type throwable containing an exception must be passed");
48-
4945
return 1;
5046
}
5147

0 commit comments

Comments
 (0)