parent
21dc8580c9
commit
1faa6b91cf
|
@ -3107,7 +3107,7 @@ export class NotebookCellOutputItem {
|
|||
) {
|
||||
const mimeNormalized = normalizeMimeType(mime, true);
|
||||
if (!mimeNormalized) {
|
||||
throw new Error('INVALID mime type, must not be empty or falsy: ' + mime);
|
||||
throw new Error(`INVALID mime type: ${mime}. Must be in the format "type/subtype[;optionalparameter]"`);
|
||||
}
|
||||
this.mime = mimeNormalized;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue