Skip to content

dub fetch for non-existent package name should have better error message #2679

@ntrel

Description

@ntrel

System information

  • dub version: 1.33.0
  • OS Platform and distribution: Linux Mint 21
  • compiler version dmd v2.104.0

Bug Description

How to reproduce?

nick@nmt-pc:~/git/english$ dub fetch libssl-dev 
             Getting a release version failed: (1): Error: Got JSON of type null_, expected object.
             Retry with ~master...
Error (1): Error: Got JSON of type null_, expected object.

Expected Behavior

The code should show an error like:

Error: No package `libssl-dev` found

Logs

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions