Skip to content

Commit

Permalink
chore: build libs core with more debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored and tiensonqin committed Aug 22, 2022
1 parent 9fbea04 commit 7e36100
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/src/LSPlugin.caller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class LSPluginCaller extends EventEmitter {
return new Promise((resolve, reject) => {
timer = setTimeout(() => {
reject(new Error(`handshake Timeout`))
}, 3 * 1000) // 3secs
}, 8 * 1000) // 8 secs

handshake
.then((refChild: ParentAPI) => {
Expand Down
2 changes: 1 addition & 1 deletion libs/src/LSPlugin.core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ class PluginLocal extends EventEmitter<'loaded'

this._dispose(cleanInjectedScripts.bind(this))
} catch (e) {
debug('[Load Plugin Error] ', e)
console.error('[Load Plugin Error] ', e)
this.logger?.error(e)

this._status = PluginLocalLoadStatus.ERROR
Expand Down
2 changes: 1 addition & 1 deletion resources/js/lsplugin.core.js

Large diffs are not rendered by default.

0 comments on commit 7e36100

Please sign in to comment.