Display errors on canvas instead of in console log