Currently I limit the file uploads with a hook and if a image is too large, it get’s resized. But I want to notify the user about this. All is working fine but is there a way to modify
- The headline of the expection? In this case “Fehler”, cause it’s not a error, only a notice
- the HTML or maybe insert a line break?
throw new Exception("My message here");