mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
🐛 Fixed error when sending messages via bootstrap socket
refs https://github.com/TryGhost/Ghost/issues/13837
- a [refactor](9fa8800b9d
) in `@tryghost/bootstrap-socket` changed the signature of the method it exprots, but the use of this
library wasn't updated in Ghost
- therefore, the library was trying to send the `@tryghost/logging` library, which caused
errors with Ghost-CLI down the line, as mentioned in the issue
- this commit updates the method signature to match what is expected
This commit is contained in:
parent
0ce992914f
commit
ec28478435
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ async function notify(type, error = null) {
|
|||
let socketAddress = config.get('bootstrap-socket');
|
||||
if (socketAddress) {
|
||||
const bootstrapSocket = require('@tryghost/bootstrap-socket');
|
||||
return bootstrapSocket.connectAndSend(socketAddress, logging, message);
|
||||
return bootstrapSocket.connectAndSend(socketAddress, message);
|
||||
}
|
||||
|
||||
return Promise.resolve();
|
||||
|
|
Loading…
Reference in a new issue