Based on the fact that North Korea condemned the raid, an unusual development, and other leaked info from the US, I take it that the target was a Korean built facility. Korea has nuclear weapons as well as chemical weapons, and is also selling missiles to Syria. It is not clear how certain Israel and the US were about the nature of the facility. According to some leaks, there was a dispute in the US about it. The possibility then are: 1. Israel and the US were sure the facility was nuclear, and it was destroyed. 2. There was suspicion that the facility was nuclear, and to be on the safe side it was destroyed. In both situations, the bombing was ill conceived, I regret to say. The right thing to have done was to inform the IAEA and give them the location of the facility. This would have put an end to a nuclear project, if that is what it was, and would have put Syria under some special watch by the Security Council, as Iran is now. Destroying the facility allows Syria to deny that it was nuclear and to attempt building another one at some point. Israel has then acted not only foolishly, but also unilaterally like a bully in the Bush style. Eventually, bullies pay for their bullying.
One student killed, three wounded at Arizona campus during fight (a)
from the article: Syria denies it confirmed target of IAF strike was nuclear facility