Closed (duplicate)
Project:
Geocoder
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2018 at 10:47 UTC
Updated:
25 Oct 2018 at 17:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hussainwebAttaching a patch to log the exception properly. I know the code is exactly same as the other catch blocks but I assume they are there for a reason and so I added a new catch block to catch
\Exceptionand didn't modify the existingcatch (InvalidCredentials $e)block.Ideally, I think the whole code block can just boil down to this:
Even if the logging has to vary for different types of exceptions, that can be done above by just adding more catch blocks.
If above is preferable, I am happy to modify the patch.
Comment #3
hussainwebThis issue was fixed in a later duplicate issue #3008232: geocoder fails with white page if address is unknown to openstreetmap.