Skip to content

Commit

Permalink
Merge pull request #6 from skylab-tech/v0.0.7-quick-fix
Browse files Browse the repository at this point in the history
Use standard exception
  • Loading branch information
kev-le authored Feb 29, 2024
2 parents c18438e + 3f25870 commit cb6f994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StudioClient/DownloadHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public partial class StudioClient
return imageBuffer;
}
}
catch (HttpRequestException ex)
catch (Exception ex)
{
Console.Error.WriteLine($"Error downloading image: {ex.Message}");
return null;
Expand Down

0 comments on commit cb6f994

Please sign in to comment.