set resultLevel on error