When using the on-error clause for a /tool fetch command (or other) is it possible to get the actual error message or number ?
There must be some info available because when failing in the terminal there usually is a message saying what went wrong.
For example:
[admin@router] > /tool fetch url=htt://bad.protocol.com
failure: invalid URL protocol
The question is how can I get this message inside the on-error clause.