Skip to content

Installer: Error messages on Windows have bad formatting #457

@ppawlowski

Description

@ppawlowski

Current Behavior

On Windows OS, error messages seem to have wrong formatting:

[ERROR] Service setup failed: failed to create service: exit status 5
 utput: E r r o r   c r e a t i n g   s e r v i c e !
 C r e a t e S e r v i c e ( ) :   T h e   s p e c i f i e d   s e r v i c e   a l r e a d y   e x i s t s .


[ERROR] Installation failed: service setup failed: failed to create service: exit status 5
 utput: E r r o r   c r e a t i n g   s e r v i c e !
 C r e a t e S e r v i c e ( ) :   T h e   s p e c i f i e d   s e r v i c e   a l r e a d y   e x i s t s .

Source.

The goal of this task is to print error messages properly on all supported operating systems.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

  • FlowFuse version:
  • Node.js version:
  • npm version:
  • Platform/OS:
  • Browser:

Linked Customers

  • Customer name and/or link to HubSpot contact

Metadata

Metadata

Assignees

Labels

needs-triageNeeds looking at to decide what to do

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions