Skip to content

Commit

Permalink
Fixed detection which App wrote a browser console error
Browse files Browse the repository at this point in the history
  • Loading branch information
nonblocking committed May 7, 2024
1 parent 9080591 commit 6a08f49
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

## [unreleased]

* Portal: Fixed detection which App wrote a browser console error
(the portalAppName will now be set properly in the server log)

## 2.6.0 (April 6, 2024)

Expand Down Expand Up @@ -42,7 +44,7 @@
```
* HTTP Proxy: Removed [request](https://github.com/request/request) based proxy implementation because the module is deprecated for over 4 years now
* Upgrade to Express 4.19 + all other libraries upgraded
* HTTP Portal: Fixed the problem that remote subscriptions can receive the same message multiple times if subscription patterns overlap
* Portal: Fixed the problem that remote subscriptions can receive the same message multiple times if subscription patterns overlap
See [#115](https://github.com/nonblocking/mashroom/issues/115)

## 2.5.4 (January 28, 2024)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const getAppNameFromStack = (stack: string): string | undefined => {
for (let i = 0; i < reverseStackRows.length; i++) {
const portalAppName = getAppNameFromScript(reverseStackRows[i]);
if (portalAppName) {
break;
return portalAppName;
}
}
return undefined;
Expand Down
2 changes: 1 addition & 1 deletion packages/test/test-server1/log4js.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"backups": 3,
"layout": {
"type": "pattern",
"pattern": "%d %p %X{sessionID} %X{clientIP} %X{browser} %X{browserVersion} %X{username} %c - %m"
"pattern": "%d %p %X{sessionID} %X{clientIP} %X{browser} %X{browserVersion} %X{username} %X{portalAppName} %c - %m"
}
},
"console": {
Expand Down

0 comments on commit 6a08f49

Please sign in to comment.