-
poker10 β
committed 8c1960ea on 7.x-1.x authored by
yurikulinkovich β
Issue #3293512 by yurikulinkovich: Argument 2 ($code) is 'error' of type...
-
poker10 β
committed 8c1960ea on 7.x-1.x authored by
yurikulinkovich β
- Status changed to Fixed
almost 2 years ago 8:43pm 16 June 2023 - πΈπ°Slovakia poker10
Thanks for working on this. The
WATCHDOG_ERROR
constant was not meant for usage with theException
class, instead it is forwatchdog()
calls severity.I have seen there are multiple usages of
WATCHDOG_ERROR
in thegoogle.inc
, introduced by #2954088: Requests are sent to Geocoding API even no key/client ID has been provided β , but we should not add others. I think we should just remove the second parameter entirely, as it is optional anyway. We can (probably) create a follow-up issue to remove other usages ofWATCHDOG_ERROR
inException
calls as well.I have fixed it on commit. Thanks!
Automatically closed - issue fixed for 2 weeks with no activity.