Merge pull request #15569 from Snuffleupagus/rm-worker-GetOperatorList-UnsupportedFeature
[api-minor] Stop sending "UnsupportedFeature" from the worker-thread GetOperatorList-handling
This commit is contained in:
commit
d5036d7bfe
@ -27,7 +27,6 @@ import {
|
|||||||
stringToPDFString,
|
stringToPDFString,
|
||||||
UnexpectedResponseException,
|
UnexpectedResponseException,
|
||||||
UnknownErrorException,
|
UnknownErrorException,
|
||||||
UNSUPPORTED_FEATURES,
|
|
||||||
VerbosityLevel,
|
VerbosityLevel,
|
||||||
warn,
|
warn,
|
||||||
} from "../shared/util.js";
|
} from "../shared/util.js";
|
||||||
@ -728,12 +727,6 @@ class WorkerMessageHandler {
|
|||||||
if (task.terminated) {
|
if (task.terminated) {
|
||||||
return; // ignoring errors from the terminated thread
|
return; // ignoring errors from the terminated thread
|
||||||
}
|
}
|
||||||
// For compatibility with older behavior, generating unknown
|
|
||||||
// unsupported feature notification on errors.
|
|
||||||
handler.send("UnsupportedFeature", {
|
|
||||||
featureId: UNSUPPORTED_FEATURES.errorOperatorList,
|
|
||||||
});
|
|
||||||
|
|
||||||
sink.error(reason);
|
sink.error(reason);
|
||||||
|
|
||||||
// TODO: Should `reason` be re-thrown here (currently that casues
|
// TODO: Should `reason` be re-thrown here (currently that casues
|
||||||
|
Loading…
x
Reference in New Issue
Block a user