Skip to content

Commit

Permalink
#3641: fix page script transitive dependencies (#3644)
Browse files Browse the repository at this point in the history
  • Loading branch information
twschiller authored Jun 10, 2022
1 parent 932ea44 commit 25f039c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/errors/errorHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ import {
selectNetworkErrorMessage,
selectServerErrorMessage,
} from "@/errors/networkErrorHelpers";
import { errorTabDoesntExist, errorTargetClosedEarly } from "webext-messenger";

// From "webext-messenger". Cannot import because the webextension polyfill can only run in an extension context
// TODO: https://github.com/pixiebrix/pixiebrix-extension/issues/3641
const errorTargetClosedEarly =
"The target was closed before receiving a response";
const errorTabDoesntExist = "The tab doesn't exist";

const DEFAULT_ERROR_MESSAGE = "Unknown error";

Expand Down

0 comments on commit 25f039c

Please sign in to comment.