Skip to content

Commit

Permalink
Throw proper exception with message in MenuBase64Converter
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan committed Aug 26, 2022
1 parent c52b11f commit d85b2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/Utilities/MediaInfoLib/MenuBase64Converter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public override object ReadJson(JsonReader reader, Type objectType, object exist
break;
}
default:
throw new NotImplementedException();
throw new NotSupportedException("Unknown type encountered in MenuStream.extra");
}
}

Expand Down

0 comments on commit d85b2d0

Please sign in to comment.