diff --git a/src/core/operations/FromChromeBrowserTimeStamp.mjs b/src/core/operations/FromChromeBrowserTimeStamp.mjs
index 38eba3ff..0a0af02a 100644
--- a/src/core/operations/FromChromeBrowserTimeStamp.mjs
+++ b/src/core/operations/FromChromeBrowserTimeStamp.mjs
@@ -18,7 +18,6 @@ class FromChromeBrowserTimestamp extends Operation {
*/
constructor() {
super();
-
this.name = "From Chrome Browser Timestamp";
this.module = "Default";
this.description = "Converts Chrome Browser Timestamp to datetime string
e.g. 12883423549000000
\
@@ -36,12 +35,12 @@ class FromChromeBrowserTimestamp extends Operation {
* @throws {OperationError} if invalid unit
*/
run(input, args) {
-
- const d = moment.unix((input /1000000) - 11644473600);
- return d.tz("UTC").format("ddd D MMMM YYYY HH:mm:ss") + " UTC";
-
- throw new OperationError();
+ try{
+ const d = moment.unix((input /1000000) - 11644473600);
+ return d.tz("UTC").format("ddd D MMMM YYYY HH:mm:ss") + " UTC";
+ } catch {
+ throw new OperationError();
+ }
}
}
-
-export default FromChromeBrowserTimestamp;
+export default FromChromeBrowserTimestamp;
\ No newline at end of file