| Index: third_party/mojo/src/mojo/public/go/bindings/interface.go
|
| diff --git a/third_party/mojo/src/mojo/public/go/bindings/interface.go b/third_party/mojo/src/mojo/public/go/bindings/interface.go
|
| index 9e449ad3f82f2a5034738d0074b2c6b986025e7b..e95324b5de4aabd82f08fc81a1586698f2284af8 100644
|
| --- a/third_party/mojo/src/mojo/public/go/bindings/interface.go
|
| +++ b/third_party/mojo/src/mojo/public/go/bindings/interface.go
|
| @@ -5,6 +5,7 @@
|
| package bindings
|
|
|
| import (
|
| + "fmt"
|
| "mojo/public/go/system"
|
| )
|
|
|
| @@ -60,7 +61,7 @@ type InterfacePointer struct {
|
| func CreateMessagePipeForMojoInterface() (InterfaceRequest, InterfacePointer) {
|
| r, h0, h1 := system.GetCore().CreateMessagePipe(nil)
|
| if r != system.MOJO_RESULT_OK {
|
| - panic("can't create a message pipe")
|
| + panic(fmt.Sprintf("can't create a message pipe: %v", r))
|
| }
|
| return InterfaceRequest{MessagePipeHandleOwner{h0}}, InterfacePointer{MessagePipeHandleOwner{h1}}
|
| }
|
|
|