Rename error_handler
settings to on_error
#3341
Merged
error_handler
settings to on_error
#3341