Skip to content

Improve handling of invalid/unknown VERSION #1323

@itzg

Description

@itzg

Describe the problem

The "Missing property" step should be when/where the startup to stop and explain.

Container definition

docker run -it --rm -e EULA=TRUE -e VERSION=1.0 itzg/minecraft-server:java8-multiarch

Container logs

[init] Resolving type given VANILLA
[init] Downloading minecraft_server.1.0.jar ...
[mc-image-helper] 14:41:17.786 ERROR : Operation failed: Missing property in path $['downloads']['server']
[init] ERROR failed to obtain version manifest from https://launchermeta.mojang.com/v1/packages/edfc56a64dfc6430665d745264732db53b0d1b41/1.0.json (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions