Improve screen recording logging
Summary: Error is handled, doesn't need a task. Also, prefix is wrong here as it's used. Reviewed By: mweststrate Differential Revision: D30247416 fbshipit-source-id: 049490cb7e45b7ce6f433bf7366eb94893947625
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8223051905
commit
11c1c39bdc
@@ -249,9 +249,9 @@ export default class IOSDevice extends BaseDevice {
|
|||||||
this.recordingLocation = undefined;
|
this.recordingLocation = undefined;
|
||||||
return recordingLocation!;
|
return recordingLocation!;
|
||||||
})
|
})
|
||||||
.catch((_e) => {
|
.catch((e) => {
|
||||||
this.recordingLocation = undefined;
|
this.recordingLocation = undefined;
|
||||||
console.error(_e);
|
console.warn('Failed to terminate iOS screen recording:', e);
|
||||||
return null;
|
return null;
|
||||||
});
|
});
|
||||||
return output;
|
return output;
|
||||||
|
|||||||
Reference in New Issue
Block a user