Skip to content

Commit

Permalink
fix: comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
PritishBudhiraja committed Nov 4, 2024
1 parent 12c0bd8 commit ddf815d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Utilities/Utils.res
Original file line number Diff line number Diff line change
Expand Up @@ -881,12 +881,11 @@ let arrayJsonToCamelCase = arr => {
let formatException = exc =>
switch exc {
| Exn.Error(obj) =>
let (message, name, stack, fileName) = (
Exn.message(obj),
Exn.name(obj),
Exn.stack(obj),
Exn.fileName(obj),
)
let message = Exn.message(obj)
let name = Exn.name(obj)
let stack = Exn.stack(obj)
let fileName = Exn.fileName(obj)

if (
message->Option.isSome ||
name->Option.isSome ||
Expand Down

0 comments on commit ddf815d

Please sign in to comment.