Is there a way to execute a macro when a error occurs that stops a print? I had a over extrusion error and the machine stopped but heat bed and extruder were still running. I want to run a macro to safe home and turn off all heaters if an error occurs.
[virtual_sdcard]
path:
# The path of the local directory on the host machine to look for
# g-code files. This is a read-only directory (sdcard file writes
# are not supported). One may point this to OctoPrint's upload
# directory (generally ~/.octoprint/uploads/ ). This parameter must
# be provided.
#on_error_gcode:
# A list of G-Code commands to execute when an error is reported.