diff --git a/htdocs/management/asset_tasks.html b/htdocs/management/asset_tasks.html
index ff1fa215d..2d799e7bd 100644
--- a/htdocs/management/asset_tasks.html
+++ b/htdocs/management/asset_tasks.html
@@ -164,9 +164,14 @@
# MAC
if ( $d{physaddr} ){
- my $mac = PhysAddr->validate($d{physaddr});
- Netdot->throw_user("Invalid MAC: $d{physaddr}")
- unless $mac;
+ my $mac = $d{physaddr};
+ eval {
+ $mac = PhysAddr->validate($mac);
+ };
+ if ( my $e = $@ ){
+ Netdot->throw_user("Invalid MAC: $e");
+ next;
+ }
if ( PhysAddr->search(address=>$mac)) {
$dups{macs}{$mac} = 1;
next;