Skip to content
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

Application Crash #10

Open
will-ondrik opened this issue Apr 11, 2024 · 0 comments
Open

Application Crash #10

will-ondrik opened this issue Apr 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@will-ondrik
Copy link

will-ondrik commented Apr 11, 2024

Issue: If the .env values aren't present or are incorrect, the error isn't handled, which causes the application to crash.

File: Program.cs
Line(s): 41, 52

Error Message:
Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'input')
at System.Text.RegularExpressions.ThrowHelper.ThrowArgumentNullException(ExceptionArgument arg)
at System.Text.RegularExpressions.Regex.Match(String input)
at Supabase.Client..ctor(String supabaseUrl, String supabaseKey, SupabaseOptions options)
at Program.<>c__DisplayClass0_0.<<

$>g__InitializeSupabase|0>d.MoveNext() in /home/willondrik/Desktop/termProjcs/term-project/term-project/Program.cs:line 52
--- End of stack trace from previous location ---
at Program.$(String[] args) in /home/willondrik/Desktop/termProjcs/term-project/term-project/Program.cs:line 41
at Program.(String[] args)

@will-ondrik will-ondrik added the bug Something isn't working label Apr 11, 2024
@will-ondrik will-ondrik changed the title Application Crash (.env-related) Program.cs - Application Crash Apr 11, 2024
@will-ondrik will-ondrik changed the title Program.cs - Application Crash Application Crash Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant