1
0
Fork 0
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:
Shane Kilkelly 2020-06-05 15:28:39 +01:00
parent 01be99db49
commit f42a52d36d

View file

@ -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__ "$@"