+23
Completed

OnError global events

Shawn 7 years ago updated by Canneverbe Limited 5 years ago 1

Currently at Settings, Commands there are several options to perform custom actions before and after updating an application, and after updating all applications.


It would aid in troubleshooting and advanced logging if we had a new command option for "after an application update fails". This would enable us to document the current state of the application with its populated variables, which should enable us to proactively address issues in our apps. It would also fill the sole mandated manual issue of tracking errors via the popup window after each update check.


It would also be beneficial if we had an option within this new command to either enable or disable the post-update error report when using the "after an application update fails" command. If we script the command correctly, the post-update error report would be unnecessary.

Answer

Answer
Completed

I added this feature for the next release. Implementation details:

  • Returning 1 from the script (PS / Batch) will ignore the update error (not show the error in the error window, but still display the failed state)
  • In PS the error information is available in the "apperror" variable (string: RequestedUrl, Exception: Error)
Answer
Completed

I added this feature for the next release. Implementation details:

  • Returning 1 from the script (PS / Batch) will ignore the update error (not show the error in the error window, but still display the failed state)
  • In PS the error information is available in the "apperror" variable (string: RequestedUrl, Exception: Error)