Skip to content

Commit b8a8f89

Browse files
committed
Include unknown error domain in log messages
1 parent 04df992 commit b8a8f89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_phongo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ zend_class_entry* phongo_exception_from_phongo_domain(php_phongo_error_domain_t
105105
return php_phongo_connectionexception_ce;
106106
}
107107

108-
MONGOC_ERROR("Resolving unknown exception domain!!!");
108+
MONGOC_ERROR("Resolving unknown phongo error domain: %d", domain);
109109
return php_phongo_runtimeexception_ce;
110110
}
111111
zend_class_entry* phongo_exception_from_mongoc_domain(uint32_t /* mongoc_error_domain_t */ domain, uint32_t /* mongoc_error_code_t */ code)

0 commit comments

Comments
 (0)