Output errors only if DEBUG is defined