Skip to content

Commit

Permalink
fix: downgrade the missing relative path
Browse files Browse the repository at this point in the history
After reviewing several bug reports in Bugsnag and reproducing.
It's possible to export a page in Notion without the images
  • Loading branch information
aalemayhu committed Aug 6, 2023
1 parent 90acd25 commit d2a1a94
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/lib/parser/exporters/embedFile.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Bugsnag from '@bugsnag/js';
import { File } from '../../anki/zip';
import { SuffixFrom } from '../../misc/file';
import getUniqueFileName from '../../misc/getUniqueFileName';
Expand Down Expand Up @@ -58,10 +57,6 @@ export const embedFile = (
fileNames: files.map((f) => f.name),
})
);

Bugsnag.notify(
`Missing relative path to ${filePath} used ${exporter.firstDeckName}`
);
}

return null;
Expand Down

0 comments on commit d2a1a94

Please sign in to comment.