thelounge/server/command-line
Reto Brunner 97f553eea8 cli: don't fail if stderr is not in json format
A user reported in the IRC chan that installing packages fails with

```
2023-12-13 20:02:34 [INFO] Installing thelounge-theme-solarized v1.1.9...
undefined:1
(node:3329) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
^
SyntaxError: Unexpected token '(', "(node:3329"... is not valid JSON
```

Now, this happens as yarn helpfully prints a deprecation warning
that is shown in the stack trace.

Let's assume that we may get non json messages and log them at debug, as we
don't know their severity.
2023-12-13 22:55:53 +01:00
..
users Fix user commands not working 2022-06-21 10:51:24 +03:00
index.ts cli: Implement storage migrate subcommand 2023-02-27 14:33:34 +01:00
install.ts Fix semver for prerelease versions 2023-06-01 08:03:07 -04:00
outdated.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
start.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
storage.ts skip migrations if the user has disabled logging 2023-02-27 14:33:34 +01:00
uninstall.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
upgrade.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
utils.ts cli: don't fail if stderr is not in json format 2023-12-13 22:55:53 +01:00