Skip to content

Poor error reporting for undefined platforms #282

Closed
@ianfixes

Description

@ianfixes

via Arduino-CI/action#21

Consider this compilation config

compile:
  platforms:
    - this_doesnt_exist

This produces NoMethodError: undefined method []' for nil:NilClass error` instead of a sensible message about the platform not being defined. This is a regression in the error communication to the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingci scriptsThe test runner scripts

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions