Skip to content

Commit

Permalink
Allow using err for errors in tremor run
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
  • Loading branch information
Licenser committed Nov 19, 2020
1 parent fca7a55 commit 73f9ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tremor-cli/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl Egress {
Ok(Return::Drop) => Ok(()),
Ok(Return::Emit { value, port }) => {
match port.unwrap_or_else(|| String::from("out")).as_str() {
"error" | "stderr" => {
"err" | "error" | "stderr" => {
self.buffer
.write_all(format!("{}\n", value.encode()).as_bytes())?;
self.buffer.flush()?;
Expand Down

0 comments on commit 73f9ac0

Please sign in to comment.