Im guessing you underage but i'll help anyway...
First, it would of been helpful to put the reason why your homegrown could be potentially dangerous, i.e. you sprayed some "shit" on there to get rid of spidermites. (FYI next time get neem oil.) Second whats the "shit" called you sprayed on your plants? Assuming it was flowering how many weeks before harvest did you spray?
By asking a basic common sense question without any details, do you think your going to get a answer?? Were not mind readers lol.
But yes, i'd say theres a potential danger. You say it was ment for veggies, in which you eat not smoke. Does it say OK for herbs or anything??? I'm going to assume it also either says apply during veg or first few weeks of flowering, which means that if you sprayed during late flower it won't have enough time to "wash out" so it will still be in your final product.
In my honest opinion, if you really are noticing some ill side effects from smoking it then go to a doctor and tell him the whole truth. Don't worrry you won't get in trouble. Get checked out, learn your leasson, and be on your way. Better safe than sorry.
Damn I really just wish humans used basci common sense sometimes.