Drone:2.15.0-linux-amd64 - strconv error when no build logs available

Repository was activated and no builds yet ran.

$ ./drone log view TestOrg/repo1
2022/11/08 23:58:25 proto: duplicate proto type registered: PluginSpec
2022/11/08 23:58:25 proto: duplicate proto type registered: PluginPrivilege
strconv.Atoi: parsing "": invalid syntax