>electronize Unhandled exception #365

Closed
opened 2026-01-29 16:37:42 +00:00 by claunia · 5 comments
Owner

Originally created by @ZedZipDev on GitHub (Jul 28, 2019).

Originally assigned to: @robertmuehsig on GitHub.

If I run electronize with incorrect arguments it crashes with "Unhandled Exception". For example:

electronize build -?
electronize build

etc
May be catch all exceptions and output some messages about error in command line?
Also, to extend the output help, for example: about command

electronize build
and so on

Originally created by @ZedZipDev on GitHub (Jul 28, 2019). Originally assigned to: @robertmuehsig on GitHub. If I run electronize with incorrect arguments it crashes with "Unhandled Exception". For example: >electronize build -? >electronize build etc May be catch all exceptions and output some messages about error in command line? Also, to extend the output help, for example: about command >electronize build and so on
claunia added the question label 2026-01-29 16:37:42 +00:00
Author
Owner

@ZedZipDev commented on GitHub (Jul 28, 2019):

Also, I run

electronize build /target macos

There are no errors, it works, successfully builds Windows version.
It may be be better:

  1. Parse "macos" as "mac" and build mac version
    2, Show error in cases like this and display correct arguments for /target option
@ZedZipDev commented on GitHub (Jul 28, 2019): Also, I run >electronize build /target macos There are no errors, it works, successfully builds Windows version. It may be be better: 1. Parse "macos" as "mac" and build mac version 2, Show error in cases like this and display correct arguments for /target option
Author
Owner

@GregorBiswanger commented on GitHub (Jul 28, 2019):

The solution is, use this command:

electronize build /target osx

@GregorBiswanger commented on GitHub (Jul 28, 2019): The solution is, use this command: `electronize build /target osx`
Author
Owner

@ZedZipDev commented on GitHub (Jul 28, 2019):

Yes, the solution is as you wrote but IMHO in any case need to catch all exceptions and extend the help output.

@ZedZipDev commented on GitHub (Jul 28, 2019): Yes, the solution is as you wrote but IMHO in any case need to catch all exceptions and extend the help output.
Author
Owner

@GregorBiswanger commented on GitHub (Jul 28, 2019):

@robertmuehsig FYI

@GregorBiswanger commented on GitHub (Jul 28, 2019): @robertmuehsig FYI
Author
Owner

@GregorBiswanger commented on GitHub (Nov 27, 2019):

Fixed with Electron.NET Version 7.30.2

@GregorBiswanger commented on GitHub (Nov 27, 2019): Fixed with Electron.NET Version 7.30.2
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#365