Skip to content

Application Crash  #10

@will-ondrik

Description

@will-ondrik

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions