New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install script missing default exception handler #881
Comments
Thanks for the post. The .NET runtime is installed by another script provided by Microsoft. So the install script does not exactly know if it succeeded. It just check if the .NET runtime is installed by running |
I'm not so sure about that, it did say initially "updating" so must have checked the version and decided it needed updating then the curl command failed at which point it carried on with the script. I don't think it ever got as far as even installing anything as the installer was never downloaded. I suppose adding some sort of exception handler to catch the curl errors won't be that simple if the dotnet installer doesn't return anything. Ironically the curl command failed because of DNS configuration issues on the Technitium host! |
The .NET installer script is maintained by Microsoft so there is no way to may any changes for it. It does provide verbose logs which can be checked to understand the failure reason. If there was no .NET runtime found then the installer would anyway stop. If any .NET runtime v8.0.x was available it would proceed and would work without issues. |
I'm no expert on scripts but it seems there's no default exception handler as I had this earlier:
I don't think it should continue when it hasn't done anything!
The text was updated successfully, but these errors were encountered: