mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 23:38:06 +02:00
Add helper to get error logs
This commit is contained in:
parent
01be99db49
commit
f42a52d36d
1 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
#! /usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
function __main__() {
|
||||
# preserve the '==>' labels from tail output
|
||||
bin/logs "$@" | grep -E '(^==>.*$|^.*level":50.*$)' --color=never
|
||||
}
|
||||
|
||||
__main__ "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue