Catch error on console creation