&vol->VolCatCapacityBytes, vol->VolCatStatus,
&vol->Slot, &vol->VolCatMaxJobs, &vol->VolCatMaxFiles) != 14) {
- Dmsg1(000, "Bad response from Dir: %s\n", dir->msg);
+ Dmsg1(200, "Bad response from Dir: %s\n", dir->msg);
Mmsg(&jcr->errmsg, _("Error scanning Dir response: %s\n"), dir->msg);
return 0;
}
Dmsg1(120, "update_volume_data(): %s", dir->msg);
if (bnet_recv(dir) <= 0) {
Dmsg0(190, "updateVolCatInfo error bnet_recv\n");
+ Jmsg(jcr, M_ERROR, 0, _("Error updating Volume Info: %s\n"),
+ bnet_strerror(dir));
return 0;
}
Dmsg1(120, "Updatevol: %s", dir->msg);
Dmsg1(100, "create_jobmedia(): %s", dir->msg);
if (bnet_recv(dir) <= 0) {
Dmsg0(190, "create_jobmedia error bnet_recv\n");
+ Jmsg(jcr, M_ERROR, 0, _("Error creating JobMedia record: %s\n"),
+ bnet_strerror(dir));
return 0;
}
Dmsg1(120, "Create_jobmedia: %s", dir->msg);