Skip to content

Commit 90f2d1a

Browse files
leoeknickwinder
authored andcommitted
[UWP] Fix Error about an undefined Exception for the Promise returned by Present() (#177)
1 parent 57286c3 commit 90f2d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windows/ReactNativePSPDFKit/ReactNativePSPDFKit/PSPDFKitModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void Present(string assetPath, IPromise promise)
6868

6969
promise.Resolve(null);
7070
}
71-
catch (Exception)
71+
catch (Exception e)
7272
{
7373
promise.Reject(e);
7474
}

0 commit comments

Comments
 (0)