wsp-ms-core 1.0.90 → 1.0.92
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.
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1914,6 +1914,7 @@ var DefaultMysqlInboxRunner = class {
|
|
|
1914
1914
|
this.eventManager = eventManager;
|
|
1915
1915
|
}
|
|
1916
1916
|
async saveEvent(e, repository) {
|
|
1917
|
+
console.log(e);
|
|
1917
1918
|
try {
|
|
1918
1919
|
let record = new InboxRecord(
|
|
1919
1920
|
UUID.create(),
|
|
@@ -1925,7 +1926,8 @@ var DefaultMysqlInboxRunner = class {
|
|
|
1925
1926
|
);
|
|
1926
1927
|
await repository.create(record);
|
|
1927
1928
|
} catch (error) {
|
|
1928
|
-
|
|
1929
|
+
console.log(error);
|
|
1930
|
+
throw error;
|
|
1929
1931
|
}
|
|
1930
1932
|
}
|
|
1931
1933
|
subscribeTo(topic) {
|
|
@@ -1938,7 +1940,6 @@ var DefaultMysqlInboxRunner = class {
|
|
|
1938
1940
|
console.log(data);
|
|
1939
1941
|
});
|
|
1940
1942
|
this.eventManager.onMessage((data) => {
|
|
1941
|
-
console.log(data);
|
|
1942
1943
|
});
|
|
1943
1944
|
this.eventManager.onError((data) => {
|
|
1944
1945
|
console.log(data);
|