Fix function typo in set_error_level

Hello,
    Was troubleshooting an issue and came across this.

Thanks,

Anthony