1
0
mirror of synced 2025-02-14 11:13:16 +03:00

Update Exception no xml

This commit is contained in:
Dmitry Mamontov 2015-03-04 13:12:43 +03:00
parent dae579da13
commit da4db23b52

View File

@ -202,7 +202,7 @@ class MoySkladICMLParser
$categories[$uuid] = $category; $categories[$uuid] = $category;
} }
} else { } else {
throw new RuntimeException('No xml'); throw new RuntimeException('No xml - ' . $this->shop);
} }
$start += self::STEP; $start += self::STEP;
@ -237,7 +237,7 @@ class MoySkladICMLParser
$vendors[$uuid] = $name; $vendors[$uuid] = $name;
} }
} else { } else {
throw new RuntimeException('No - ' . $this->shop); throw new RuntimeException('No xml - ' . $this->shop);
} }
$start += self::STEP; $start += self::STEP;
@ -291,7 +291,7 @@ class MoySkladICMLParser
); );
} }
} else { } else {
throw new RuntimeException('No xml'); throw new RuntimeException('No xml - ' . $this->shop);
} }
$start += self::STEP; $start += self::STEP;
@ -325,7 +325,7 @@ class MoySkladICMLParser
} }
} }
} else { } else {
throw new RuntimeException('No xml'); throw new RuntimeException('No xml - ' . $this->shop);
} }
} }