Fixed error printing bug in DBP

Previously errors were printed to Std err even if ERROR_AS_SYSTEM_ERROR
was false