Skip to content

Commit

Permalink
$mol_service fixes 2
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Nov 6, 2024
1 parent d579f8a commit 370372a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions service/plugin/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
namespace $ {
if ( $mol_service_process() ) {
Promise.resolve().then(() => $.$mol_service_self.init())
Promise.resolve().then(() => $mol_service_self.init())
} else {
$.$mol_service_worker.init()
$mol_service_worker.init()
}

export namespace $mol_service_plugin {
Expand Down
2 changes: 1 addition & 1 deletion service/worker/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace $ {
try {
this.state()
} catch (error) {
if ($mol_fail_catch(error)) {
if (! $mol_promise_like(error)) {
console.error(error)
}
}
Expand Down

0 comments on commit 370372a

Please sign in to comment.