Error text template

by Ricardo “Rudxain” Fernández Serrata

Version 1 (December 28, 2024)

Download (179 downloads)

I found a way to trick the log viewer to tint text as red, lol.

`slice(URI, 47, indexOf(URI, "/", 48))` is the most efficient way to extract flow-ID. `split(URI, "/")[-3]` is cleaner, but it's always O(n), and invokes the Java regex engine.

I used `substr(URI, 9, 22)` to make the byte-size smaller, but now I realize it was stupid over-engineering, lol.

ℹ️ More info:
- MyNameIsBob: llamalab.com/automate/community/flows/45217
- Patrick Corgan: llamalab.com/automate/community/flows/43009

Rudxain profile: llamalab.com/automate/community/flows/42921

Tags: font style string hack

LICENSE: https://unlicense.org

4.9 average rating from 7 reviews

5 stars
6
4 stars
1
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.