@replit/river 0.13.8 → 0.13.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -773,12 +773,14 @@ var RiverServer = class {
|
|
|
773
773
|
log?.error(
|
|
774
774
|
`${this.transport.clientId} -- can't create a new procedure stream from a message that doesn't have the stream open bit set`
|
|
775
775
|
);
|
|
776
|
+
log?.debug(` -> ${JSON.stringify(message)}`);
|
|
776
777
|
return;
|
|
777
778
|
}
|
|
778
779
|
if (!message.procedureName || !message.serviceName) {
|
|
779
780
|
log?.warn(
|
|
780
781
|
`${this.transport.clientId} -- missing procedure or service name in stream open message`
|
|
781
782
|
);
|
|
783
|
+
log?.debug(` -> ${JSON.stringify(message)}`);
|
|
782
784
|
return;
|
|
783
785
|
}
|
|
784
786
|
if (!(message.serviceName in this.services)) {
|
|
@@ -839,7 +841,7 @@ var RiverServer = class {
|
|
|
839
841
|
const errorHandler = (err) => {
|
|
840
842
|
const errorMsg = coerceErrorString(err);
|
|
841
843
|
log?.error(
|
|
842
|
-
`${this.transport.clientId} -- procedure ${message.serviceName}.${message.procedureName}:${message.streamId} threw an error: ${errorMsg}`
|
|
844
|
+
`${this.transport.clientId} -- procedure ${message.serviceName}.${message.procedureName}:${message.streamId} threw an uncaught error: ${errorMsg}`
|
|
843
845
|
);
|
|
844
846
|
outgoing.push(
|
|
845
847
|
Err({
|
package/dist/router/index.cjs
CHANGED
|
@@ -869,12 +869,14 @@ var RiverServer = class {
|
|
|
869
869
|
log?.error(
|
|
870
870
|
`${this.transport.clientId} -- can't create a new procedure stream from a message that doesn't have the stream open bit set`
|
|
871
871
|
);
|
|
872
|
+
log?.debug(` -> ${JSON.stringify(message)}`);
|
|
872
873
|
return;
|
|
873
874
|
}
|
|
874
875
|
if (!message.procedureName || !message.serviceName) {
|
|
875
876
|
log?.warn(
|
|
876
877
|
`${this.transport.clientId} -- missing procedure or service name in stream open message`
|
|
877
878
|
);
|
|
879
|
+
log?.debug(` -> ${JSON.stringify(message)}`);
|
|
878
880
|
return;
|
|
879
881
|
}
|
|
880
882
|
if (!(message.serviceName in this.services)) {
|
|
@@ -935,7 +937,7 @@ var RiverServer = class {
|
|
|
935
937
|
const errorHandler = (err) => {
|
|
936
938
|
const errorMsg = coerceErrorString(err);
|
|
937
939
|
log?.error(
|
|
938
|
-
`${this.transport.clientId} -- procedure ${message.serviceName}.${message.procedureName}:${message.streamId} threw an error: ${errorMsg}`
|
|
940
|
+
`${this.transport.clientId} -- procedure ${message.serviceName}.${message.procedureName}:${message.streamId} threw an uncaught error: ${errorMsg}`
|
|
939
941
|
);
|
|
940
942
|
outgoing.push(
|
|
941
943
|
Err({
|
package/dist/router/index.js
CHANGED
package/dist/util/testHelpers.js
CHANGED
package/package.json
CHANGED