mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-11-23 23:21:02 +01:00
perf: ♻️ When the application fails to start, display the error message
This commit is contained in:
parent
11a89a38a1
commit
dbc34d63ad
@ -104,6 +104,13 @@ export default {
|
||||
})
|
||||
|
||||
await window.scrcpy.startApp(this.device.id, { title, commands, packageName: value })
|
||||
.catch((e) => {
|
||||
console.error('mirror.commands', commands)
|
||||
console.error('mirror.error', e)
|
||||
if (e.message) {
|
||||
this.$message.warning(e.message)
|
||||
}
|
||||
})
|
||||
|
||||
openFloatControl(toRaw(this.device))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user