add safety net in case we couldn't find the exact error during a get_…

…error_name.
latest commit 2114394d58
@vincenthz authored