Skip to content

Commit

Permalink
add error logs when failed to create a session (#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
anandbagmar authored Oct 12, 2023
1 parent c960619 commit 554f74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class DevicePlugin extends BasePlugin {
.catch(async function (error) {
await updatedAllocatedDevice(device, { busy: false });
logger.info(
`📱 Device UDID ${device.udid} unblocked. Reason: Remote Session failed to create`
`📱 Device UDID ${device.udid} unblocked. Reason: Remote Session failed to create. ${error}`
);
throw new Error(
`${error.response.data.value.message}, Please check the remote appium server log to know the reason for failure`
Expand Down

0 comments on commit 554f74b

Please sign in to comment.