Skip to content

Commit 4db27ee

Browse files
committed
exception name in title of notification
1 parent ce7ae97 commit 4db27ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MainActivity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ void makeNotif(string title, string text, string channel) =>
101101
}
102102
} catch (Exception e) {
103103
Log.Error(LogTag, Java.Lang.Throwable.FromException(e), "Exception when trying to download video " + videoId.Value);
104-
makeNotif(videoId.Value, "Cannot download video because an unknown error. Trying again may fix the problem. If this persists, contact the developer, and include a link to the video you downloaded.", "youtubedl.failed.exception");
104+
makeNotif(e.GetType().Name, "Cannot download video because an unknown error. Trying again may fix the problem. If this persists, contact the developer, and include a link to the video you downloaded.", "youtubedl.failed.exception");
105105
}
106106
});
107107
}

0 commit comments

Comments
 (0)