print error only in debug