Hi everyone!
I like big red messages when an error happens so I can quickly spot the problem. At the moment, here is the current situation:
Let’s say you try to extrude on a cold hot-end. If you manually send the command “G1 E0.1” in the Console, there will be a big red toast message saying cold extrusion protection kicked in, as well as a message in the Console.
If the same command is sent from a gcode file, there will only be a message in the Console. I also want the big red toast.
I can’t seem to be able to do that. I tried multiple things, my best attempt is to add “self.gcode.error(error_message)” to “virtual_sdcard.py” at the end of the file when an error message happens, but this returns an “Unhandled exception during run” and I can’t understand why.
Any help appreciated on this. I’ll be happy to share more info if needed.