Skip to content

Error output logged after every execution #333

@jbboynton

Description

@jbboynton

Describe the bug

  • Every time a script is executed, error output is logged in the console
  • The error output contains only the empty string

To reproduce

  • Add the plugin example below and check the messages logged in the console

Expected behavior

  • Blank error output should not be logged

Screenshots

swiftbar-logs
Log messages as they appear in the console

Environment

  • macOS Monterey 12.6
  • SwiftBar 1.4.3 (422)

Plugin example

#!/bin/bash

# metadata
# <xbar.title>Test</xbar.title>
# <xbar.author>Test</xbar.author>
# <xbar.desc>Test</xbar.desc>

echo "test"
  • I don't run Bartender/Dozer/etc. or tested the issue without it running

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions