Skip to content

Commit

Permalink
chore: show kinder error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Oct 22, 2020
1 parent 388899b commit 3cfdcae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void ResetScreen(WebCamDevice? device) {
try {
webCamTexture.Play();
} catch (Exception e) {
Debug.LogWarning(e.Message);
Debug.LogWarning(e.ToString());
return;
}

Expand Down
2 changes: 1 addition & 1 deletion Assets/MediaPipe/SDK/Scripts/Gpu/GlCalculatorHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public Status RunInGlContext(GlStatusFunction glStatusFunc) {
try {
return glStatusFunc().GetPtr();
} catch (Exception e) {
return Status.FailedPrecondition(e.Message, false).GetPtr();
return Status.FailedPrecondition(e.ToString(), false).GetPtr();
}
};
GCHandle mpGlStatusFuncHandle = GCHandle.Alloc(mpGlStatusFunc);
Expand Down

0 comments on commit 3cfdcae

Please sign in to comment.