DB/Errors: Error fix 

Fixes #10634