diff --git a/StudioClient/DownloadHelper.cs b/StudioClient/DownloadHelper.cs index b762fd1..25d25cd 100644 --- a/StudioClient/DownloadHelper.cs +++ b/StudioClient/DownloadHelper.cs @@ -38,7 +38,7 @@ public partial class StudioClient } catch (HttpRequestException ex) { - Console.WriteLine($"Error downloading image: {ex.Message}"); + Console.Error.WriteLine($"Error downloading image: {ex.Message}"); return null; } } @@ -70,7 +70,7 @@ private async Task DownloadReplacedBackgroundImage(string fileName, Image } catch (Exception ex) { - Console.WriteLine($"Error downloading background image: {ex.Message}"); + Console.Error.WriteLine($"Error downloading background image: {ex.Message}"); return false; } } @@ -98,7 +98,7 @@ public async Task DownloadAllPhotos(JArray photosList, dynamic profile, st return true; } catch (Exception _e) { - Console.WriteLine(_e); + Console.Error.WriteLine(_e); return false; } } @@ -148,8 +148,8 @@ public async Task DownloadPhoto(long photoId, string outputPath, dynamic? return true; } catch (Exception _e) { - Console.WriteLine($"Failed to download photo id: {photoId}"); - Console.WriteLine(_e); + Console.Error.WriteLine($"Failed to download photo id: {photoId}"); + Console.Error.WriteLine(_e); return false; } }